package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 预约信息实体类
 * @author: ZHD
 * @Date: 2025/08/23 7:53
 * @Description:
 */
@Data
@TableName("reservation")
public class Reservation {
    /**
     * 主键ID
     */
    private Long id;
     /**
     * 姓名
     */
     @ApiModelProperty(value = "姓名")
     @Excel(name = "姓名")
    private String name;
      /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @Excel(name = "手机号")
    private String mobile;
    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    @Excel(name = "预约时间")

    private LocalDateTime time;
    /**
     * 访客姓名
     */
    @ApiModelProperty(value = "访客姓名")
    @Excel(name = "访客姓名")
    private String visitor;
    /**
     * 预约类型
     */
    @ApiModelProperty(value = "预约类型")
    @Excel(name = "预约类型")
    private Integer type;
    /**
     * 预约状态
     */
    @ApiModelProperty(value = "预约状态")
    @Excel(name = "预约状态")
    private Integer status;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "更新时间")
    @Excel(name = "更新时间")
    private LocalDateTime updateTime;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人")
    private Long createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    @Excel(name = "更新人")
    private Long updateBy;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String remark;

}
